Optimal. Leaf size=118 \[ \frac {\sqrt {a+b x^2} (4 b c-5 a d)}{15 a^2 x^3}-\frac {\sqrt {a+b x^2} \left (15 a^2 e-10 a b d+8 b^2 c\right )}{15 a^3 x}-\frac {c \sqrt {a+b x^2}}{5 a x^5}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{\sqrt {b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {1807, 1585, 1265, 451, 217, 206} \[ -\frac {\sqrt {a+b x^2} \left (15 a^2 e-10 a b d+8 b^2 c\right )}{15 a^3 x}+\frac {\sqrt {a+b x^2} (4 b c-5 a d)}{15 a^2 x^3}-\frac {c \sqrt {a+b x^2}}{5 a x^5}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{\sqrt {b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 217
Rule 451
Rule 1265
Rule 1585
Rule 1807
Rubi steps
\begin {align*} \int \frac {c+d x^2+e x^4+f x^6}{x^6 \sqrt {a+b x^2}} \, dx &=-\frac {c \sqrt {a+b x^2}}{5 a x^5}-\frac {\int \frac {(4 b c-5 a d) x-5 a e x^3-5 a f x^5}{x^5 \sqrt {a+b x^2}} \, dx}{5 a}\\ &=-\frac {c \sqrt {a+b x^2}}{5 a x^5}-\frac {\int \frac {4 b c-5 a d-5 a e x^2-5 a f x^4}{x^4 \sqrt {a+b x^2}} \, dx}{5 a}\\ &=-\frac {c \sqrt {a+b x^2}}{5 a x^5}+\frac {(4 b c-5 a d) \sqrt {a+b x^2}}{15 a^2 x^3}+\frac {\int \frac {8 b^2 c-10 a b d+15 a^2 e+15 a^2 f x^2}{x^2 \sqrt {a+b x^2}} \, dx}{15 a^2}\\ &=-\frac {c \sqrt {a+b x^2}}{5 a x^5}+\frac {(4 b c-5 a d) \sqrt {a+b x^2}}{15 a^2 x^3}-\frac {\left (8 b^2 c-10 a b d+15 a^2 e\right ) \sqrt {a+b x^2}}{15 a^3 x}+f \int \frac {1}{\sqrt {a+b x^2}} \, dx\\ &=-\frac {c \sqrt {a+b x^2}}{5 a x^5}+\frac {(4 b c-5 a d) \sqrt {a+b x^2}}{15 a^2 x^3}-\frac {\left (8 b^2 c-10 a b d+15 a^2 e\right ) \sqrt {a+b x^2}}{15 a^3 x}+f \operatorname {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )\\ &=-\frac {c \sqrt {a+b x^2}}{5 a x^5}+\frac {(4 b c-5 a d) \sqrt {a+b x^2}}{15 a^2 x^3}-\frac {\left (8 b^2 c-10 a b d+15 a^2 e\right ) \sqrt {a+b x^2}}{15 a^3 x}+\frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{\sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 95, normalized size = 0.81 \[ \frac {f \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{\sqrt {b}}-\frac {\sqrt {a+b x^2} \left (a^2 \left (3 c+5 d x^2+15 e x^4\right )-2 a b x^2 \left (2 c+5 d x^2\right )+8 b^2 c x^4\right )}{15 a^3 x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.79, size = 221, normalized size = 1.87 \[ \left [\frac {15 \, a^{3} \sqrt {b} f x^{5} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) - 2 \, {\left ({\left (8 \, b^{3} c - 10 \, a b^{2} d + 15 \, a^{2} b e\right )} x^{4} + 3 \, a^{2} b c - {\left (4 \, a b^{2} c - 5 \, a^{2} b d\right )} x^{2}\right )} \sqrt {b x^{2} + a}}{30 \, a^{3} b x^{5}}, -\frac {15 \, a^{3} \sqrt {-b} f x^{5} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) + {\left ({\left (8 \, b^{3} c - 10 \, a b^{2} d + 15 \, a^{2} b e\right )} x^{4} + 3 \, a^{2} b c - {\left (4 \, a b^{2} c - 5 \, a^{2} b d\right )} x^{2}\right )} \sqrt {b x^{2} + a}}{15 \, a^{3} b x^{5}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.60, size = 324, normalized size = 2.75 \[ -\frac {f \log \left ({\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2}\right )}{2 \, \sqrt {b}} + \frac {2 \, {\left (15 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{8} \sqrt {b} e + 30 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{6} b^{\frac {3}{2}} d - 60 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{6} a \sqrt {b} e + 80 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} b^{\frac {5}{2}} c - 70 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} a b^{\frac {3}{2}} d + 90 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} a^{2} \sqrt {b} e - 40 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} a b^{\frac {5}{2}} c + 50 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} a^{2} b^{\frac {3}{2}} d - 60 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} a^{3} \sqrt {b} e + 8 \, a^{2} b^{\frac {5}{2}} c - 10 \, a^{3} b^{\frac {3}{2}} d + 15 \, a^{4} \sqrt {b} e\right )}}{15 \, {\left ({\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} - a\right )}^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 136, normalized size = 1.15 \[ \frac {f \ln \left (\sqrt {b}\, x +\sqrt {b \,x^{2}+a}\right )}{\sqrt {b}}-\frac {\sqrt {b \,x^{2}+a}\, e}{a x}+\frac {2 \sqrt {b \,x^{2}+a}\, b d}{3 a^{2} x}-\frac {8 \sqrt {b \,x^{2}+a}\, b^{2} c}{15 a^{3} x}-\frac {\sqrt {b \,x^{2}+a}\, d}{3 a \,x^{3}}+\frac {4 \sqrt {b \,x^{2}+a}\, b c}{15 a^{2} x^{3}}-\frac {\sqrt {b \,x^{2}+a}\, c}{5 a \,x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.33, size = 128, normalized size = 1.08 \[ \frac {f \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {b}} - \frac {8 \, \sqrt {b x^{2} + a} b^{2} c}{15 \, a^{3} x} + \frac {2 \, \sqrt {b x^{2} + a} b d}{3 \, a^{2} x} - \frac {\sqrt {b x^{2} + a} e}{a x} + \frac {4 \, \sqrt {b x^{2} + a} b c}{15 \, a^{2} x^{3}} - \frac {\sqrt {b x^{2} + a} d}{3 \, a x^{3}} - \frac {\sqrt {b x^{2} + a} c}{5 \, a x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.72, size = 105, normalized size = 0.89 \[ \frac {f\,\ln \left (\sqrt {b}\,x+\sqrt {b\,x^2+a}\right )}{\sqrt {b}}-\frac {e\,\sqrt {b\,x^2+a}}{a\,x}-\frac {d\,\sqrt {b\,x^2+a}\,\left (a-2\,b\,x^2\right )}{3\,a^2\,x^3}-\frac {c\,\sqrt {b\,x^2+a}\,\left (3\,a^2-4\,a\,b\,x^2+8\,b^2\,x^4\right )}{15\,a^3\,x^5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 6.21, size = 456, normalized size = 3.86 \[ - \frac {3 a^{4} b^{\frac {9}{2}} c \sqrt {\frac {a}{b x^{2}} + 1}}{15 a^{5} b^{4} x^{4} + 30 a^{4} b^{5} x^{6} + 15 a^{3} b^{6} x^{8}} - \frac {2 a^{3} b^{\frac {11}{2}} c x^{2} \sqrt {\frac {a}{b x^{2}} + 1}}{15 a^{5} b^{4} x^{4} + 30 a^{4} b^{5} x^{6} + 15 a^{3} b^{6} x^{8}} - \frac {3 a^{2} b^{\frac {13}{2}} c x^{4} \sqrt {\frac {a}{b x^{2}} + 1}}{15 a^{5} b^{4} x^{4} + 30 a^{4} b^{5} x^{6} + 15 a^{3} b^{6} x^{8}} - \frac {12 a b^{\frac {15}{2}} c x^{6} \sqrt {\frac {a}{b x^{2}} + 1}}{15 a^{5} b^{4} x^{4} + 30 a^{4} b^{5} x^{6} + 15 a^{3} b^{6} x^{8}} - \frac {8 b^{\frac {17}{2}} c x^{8} \sqrt {\frac {a}{b x^{2}} + 1}}{15 a^{5} b^{4} x^{4} + 30 a^{4} b^{5} x^{6} + 15 a^{3} b^{6} x^{8}} + f \left (\begin {cases} \frac {\sqrt {- \frac {a}{b}} \operatorname {asin}{\left (x \sqrt {- \frac {b}{a}} \right )}}{\sqrt {a}} & \text {for}\: a > 0 \wedge b < 0 \\\frac {\sqrt {\frac {a}{b}} \operatorname {asinh}{\left (x \sqrt {\frac {b}{a}} \right )}}{\sqrt {a}} & \text {for}\: a > 0 \wedge b > 0 \\\frac {\sqrt {- \frac {a}{b}} \operatorname {acosh}{\left (x \sqrt {- \frac {b}{a}} \right )}}{\sqrt {- a}} & \text {for}\: b > 0 \wedge a < 0 \end {cases}\right ) - \frac {\sqrt {b} d \sqrt {\frac {a}{b x^{2}} + 1}}{3 a x^{2}} - \frac {\sqrt {b} e \sqrt {\frac {a}{b x^{2}} + 1}}{a} + \frac {2 b^{\frac {3}{2}} d \sqrt {\frac {a}{b x^{2}} + 1}}{3 a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________